﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="OMANE_labelTitre" TargetType="{x:Type Label}" BasedOn="{StaticResource controlOMANE}">
        <Setter Property="Height" Value="27" />
        <Setter Property="Margin" Value="0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Label}">
                    <Border
                        x:Name="BorderExt"
                        CornerRadius="0"
                        BorderThickness="1,1,1,1"
                        Background="White"
                        BorderBrush="{StaticResource BrushCouleur1Base}">
                        <Border
                            x:Name="BorderInt"
                            Margin="1,1,0,0"
                            CornerRadius="0"
                            BorderThickness="0"
                            Background="{StaticResource DegradeBckTitre}">
                            <ContentPresenter Margin="2" HorizontalAlignment="Center" 
                                              VerticalAlignment="Center" 
                                              RecognizesAccessKey="True">
                            </ContentPresenter>
                        </Border>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
